//
//  JMXExtensions.h
//  JMXChatKit
//
//  Created by Husky on 2021/4/14.
//  Copyright © 2021 Uniauto. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface NSString (JMXExt)

+ (NSString *)jmx_stringWithFileSize:(long long)size;

@end


@interface NSDate (JMXExt)

+ (NSString *)jmx_durationWithVideoFormat:(long long)seconds;

@end


@interface UIColor (JMXExt)

+ (UIColor *)jmx_colorWithDynamic:(NSArray *)colors;

@end


@interface UIImage (JMXExt)

+ (UIImage *)jmx_text;
+ (UIImage *)jmx_doc;
+ (UIImage *)jmx_docx;
+ (UIImage *)jmx_pdf;
+ (UIImage *)jmx_ppt;
+ (UIImage *)jmx_pptx;
+ (UIImage *)jmx_xls;
+ (UIImage *)jmx_xlsx;
+ (UIImage *)jmx_unknown;
+ (UIImage *)jmx_suffixExtension:(NSString *)ext;

@end
